<template>
	<div class="not-found-container">
		<div class="content">
			<h1>404</h1>
			<p>哎呀，页面离家出走了！</p>
			<router-link to="/homePage" class="back-btn">
				返回首页
			</router-link>
		</div>
	</div>
</template>

<style scoped>
	.not-found-container {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 100vh;
		background: #f0f2f5;
	}

	.content {
		text-align: center;
	}

	h1 {
		font-size: 10rem;
		color: #1890ff;
		margin: 0;
	}

	p {
		font-size: 1.5rem;
		color: #666;
		margin: 20px 0;
	}

	.back-btn {
		display: inline-block;
		padding: 12px 30px;
		background: #1890ff;
		color: white;
		border-radius: 25px;
		text-decoration: none;
		transition: background 0.3s;
	}

	.back-btn:hover {
		background: #40a9ff;
	}
</style>